
import sys
import pyautogui
# python index.py 2  # 能输出后面的值
type = sys.argv[1]
print(sys.argv)
if type == "MouseMove":
    mousex =float( sys.argv[2])
    mousey = float(sys.argv[3])
    pyautogui.moveTo(x=mousex, y=mousey, duration=0.25)


